package me.learningandroid.ch1_5_2;

public class HelloAnonymous {
    private String msg="Hello Anonymous";


    public static void main(String[] args) {
        new HelloAnonymous().embeddedPrint();
    }

    public void embeddedPrint() {
        new Runnable() {
            @Override
            public void run() {
                System.out.println(msg);
            }
        }.run();
    }
}
